import App from './App'
import Vue from 'vue'

// #ifdef VUE2
import './uni.promisify.adaptor'
import uView from "uview-ui"
Vue.use(uView)

// 设置全局变量
Vue.prototype.BASE_URL = 'https://pcdn.hbkfu.com' 

Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue({
  ...App
})
require('./utils/request.js')(app)
app.$mount()
// #endif


// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif